var mongoose = require("mongoose");

var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var User = new Schema({
	name: String,
	password: String,
	headUrl: String,
	online: Boolean,
	_roomId: ObjectId
}, {
	collection: "users"
})

module.exports = User;